package annotation;

/**
 * @ClassName PasswordUtils
 * @Description
 * @Author LIBOFEI
 * @Date 2020/6/7 15:54
 * @Version 1.0
 **/
public class PasswordUtils {

    @UserCase(id=47,desription = "libofei")
    public boolean validatePassword(String password){
        return (password.matches("\\w*\\d\\w*"));
    }

    @UserCase(id=48)
    public String passwordRevert(String password){
        return new StringBuilder(password).reverse().toString();
    }
}
